package iec870_5

//https://blog.csdn.net/chenyitao736866376/article/details/99120024
//https://www.cnblogs.com/GeneralXU/archive/2009/11/01/1593845.html
// iec10xModel is the model for iec10x.
// apdu models are generated from iec10x schema definition.
type apduModel struct {
	apci *apciModel
	asdu *asduModel
}

type apciModel struct {
	startChar     byte           //固定0x68
	apduLeh       byte           //最大253
	controlDomain *controlDomain //控制域
}

type asduModel struct {
	typeFlag    byte    //类型标识
	vsq         byte    //可变结构限定词
	trReson     [2]byte //传输原因
	addr        [2]byte //应用服务单元地址
	messageBody []byte  //信息体,最大243个字节

}
